﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
	
namespace BEGDC.PreContract.BLL
{
	public partial interface IPreContractInfo
    {
		//Get by id
		BEGDC.PreContract.DAL.PreContractInfo GetPreContractInfo(System.Int32 preContractID);
		
		//Get by filter
		DataTable GetPreContractInfo_DataTable(string filter);
		
		//Delete
		void DeletePreContractInfo(System.Int32 preContractID); 
		
		//Add
		int AddPreContractInfo(System.String preContractNo, BEGDC.PreContract.DAL.DicItem statusID, BEGDC.PreContract.DAL.DicItem typeID, BEGDC.PreContract.DAL.Product productID, Nullables.NullableDateTime promisedDate, Nullables.NullableDecimal cEWPromised, Nullables.NullableDecimal orionPrice, Nullables.NullableDecimal salePrice, Nullables.NullableDateTime signDue, Nullables.NullableDateTime signActual, System.String contractName, Nullables.NullableDateTime eRPReceived, System.String orionNo, System.Boolean delivered, System.String currentSituation, Nullables.NullableDateTime blackDate, Nullables.NullableDateTime tradeMonth, Nullables.NullableDateTime modifiedDate, System.String aCRNo, System.Boolean aSBorLucent, System.String applicant, System.String applicantEmail, System.String principal, System.String principalEmail, BEGDC.PreContract.DAL.Province provinceID, BEGDC.PreContract.DAL.CAT cATID, BEGDC.PreContract.DAL.BD bDID, System.String customerName, System.String customField01, System.String customField02, System.String customField03, System.String customField04, Nullables.NullableDecimal deliveryPercent, System.String advancedContract, System.Boolean isRisk);	
		
		//Update
		bool UpdatePreContractInfo(System.Int32 preContractID, System.String preContractNo, BEGDC.PreContract.DAL.DicItem statusID, BEGDC.PreContract.DAL.DicItem typeID, BEGDC.PreContract.DAL.Product productID, Nullables.NullableDateTime promisedDate, Nullables.NullableDecimal cEWPromised, Nullables.NullableDecimal orionPrice, Nullables.NullableDecimal salePrice, Nullables.NullableDateTime signDue, Nullables.NullableDateTime signActual, System.String contractName, Nullables.NullableDateTime eRPReceived, System.String orionNo, System.Boolean delivered, System.String currentSituation, Nullables.NullableDateTime blackDate, Nullables.NullableDateTime tradeMonth, Nullables.NullableDateTime modifiedDate, System.String aCRNo, System.Boolean aSBorLucent, System.String applicant, System.String applicantEmail, System.String principal, System.String principalEmail, BEGDC.PreContract.DAL.Province provinceID, BEGDC.PreContract.DAL.CAT cATID, BEGDC.PreContract.DAL.BD bDID, System.String customerName, System.String customField01, System.String customField02, System.String customField03, System.String customField04, Nullables.NullableDecimal deliveryPercent, System.String advancedContract, System.Boolean isRisk);
		
	}

}



